<!DOCTYPE html>
<html>
  <head>
    <title>更多图书</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  </head>
  <body>
    <a href="/book">返回</a>
    <div class="row">
      <% for(var i = 0;i<list.length;i++){ %>
          <div class="col-sm-5 col-md-3">
              <div class="thumbnail">
                  <img src="<%= list[i].images.medium %>" alt="..." style="width:120px;height:160px;">
              </div>
          </div>
      <%}%>
    </div>
    <div class="row">
        <div class="col-md-12 text-center">
            <a href="./morebooks?pageNo=1">首页</a>
            <a href="./morebooks?pageNo=<%= pageNo>1?parseInt(pageNo)-1:1 %>">上一页</a>
            <a href="./morebooks?pageNo=<%= pageNo< totalPage ? parseInt(pageNo)+1:1 %>">下一页</a>
            <a href="./morebooks?pageNo=<%= totalPage %>">尾页</a>
            <%= pageNo %> / <%= totalPage %>  共<%= count%>记录
        </div>
    </div>
    <link rel='stylesheet' href='/booksheets/bootstrap.min.js' />
  </body>
</html>
